<template>
  <div class="weekly-report-management">
    <div class="header">
      <el-row>
        <el-col :span="24">
          <div class="header-title">工作管理</div>
        </el-col>
      </el-row>
    </div>

    <el-row :gutter="20" class="info-cards">
      <el-col :span="8">
        <div class="todo" @click="toAddWeekly({ queryValue: '0' })">
          <div>
            <div>我创建的</div>
            <div class="todo-text">{{ weeklyCount.myWeeklyCount || 0 }}</div>
          </div>
          <div>
            <svg
              t="1728719607739"
              class="icon"
              viewBox="0 0 1024 1024"
              version="1.1"
              xmlns="http://www.w3.org/2000/svg"
              p-id="79024"
              width="48"
              height="48"
            >
              <path
                d="M296.96 201.386667c30.72 0 51.2-20.48 54.613333-47.786667v-102.4C348.16 23.893333 327.68 0 300.373333 0c-30.72 0-51.2 20.48-51.2 47.786667v102.4c0 27.306667 20.48 47.786667 47.786667 51.2zM716.8 201.386667c30.72 0 51.2-20.48 54.613333-47.786667v-102.4C768 23.893333 747.52 0 720.213333 0c-30.72 0-51.2 20.48-51.2 47.786667v102.4c0 27.306667 20.48 47.786667 47.786667 51.2z"
                fill="#73E5D2"
                p-id="79025"
              ></path>
              <path
                d="M890.88 85.333333h-47.786667v75.093334c-6.826667 64.853333-58.026667 109.226667-122.88 109.226666h-6.826666c-61.44-6.826667-109.226667-58.026667-109.226667-119.466666V85.333333h-180.906667v75.093334c-6.826667 64.853333-58.026667 109.226667-122.88 109.226666H290.133333c-61.44-6.826667-105.813333-58.026667-105.813333-119.466666V85.333333H133.12C61.44 85.333333 0 143.36 0 218.453333v672.426667C0 962.56 61.44 1024 133.12 1024h757.76c71.68 0 133.12-61.44 133.12-133.12V218.453333c0-75.093333-61.44-133.12-133.12-133.12zM368.64 518.826667v-58.026667h116.053333v-44.373333h68.266667v44.373333h112.64v58.026667h-112.64v51.2h133.12v61.44h-334.506667v-61.44h133.12v-51.2h-116.053333z m0 327.68v-180.906667h290.133333v180.906667h-290.133333z m416.426667 34.133333c0 40.96-23.893333 61.44-75.093334 61.44h-85.333333l-17.066667-68.266667c34.133333 3.413333 61.44 3.413333 81.92 3.413334 17.066667 0 23.893333-6.826667 23.893334-23.893334V399.36H324.266667v204.8c0 139.946667-27.306667 252.586667-75.093334 341.333333l-54.613333-47.786666c37.546667-75.093333 54.613333-170.666667 58.026667-286.72V334.506667H785.066667v546.133333z"
                fill="#73E5D2"
                p-id="79026"
              ></path>
              <path
                d="M436.906667 723.626667h153.6V785.066667h-153.6z"
                fill="#73E5D2"
                p-id="79027"
              ></path>
            </svg>
          </div>
        </div>
      </el-col>
      <el-col :span="8">
        <div class="todo" @click="toAddWeekly({ queryValue: '1' })">
          <div>
            <div>未读周报</div>
            <div class="todo-text">{{ weeklyCount.noReadCount || 0 }}</div>
          </div>
          <div>
            <svg
              t="1728718498667"
              class="icon"
              viewBox="0 0 1024 1024"
              version="1.1"
              xmlns="http://www.w3.org/2000/svg"
              p-id="39134"
              width="48"
              height="48"
            >
              <path
                d="M826.4 373.92H251.84a146.08 146.08 0 0 0-7.52 46.24v384c0 84 66.56 156.32 144 156.32H769.6c76.96 0 144-72.32 144-156.32v-384a145.92 145.92 0 0 0-7.52-46.24zM664.32 142.24H436.16c-41.44 0-55.04 100.8-55.04 145.6H720c0-44.8-14.24-145.6-55.68-145.6z"
                fill="#D1E4E5"
                p-id="39135"
              ></path>
              <path
                d="M884.32 342.24c0-104.16-73.28-187.84-170.4-194.4h-5.6l-1.76-5.28C689.28 90.72 660.64 64 621.28 64H401.12c-39.2 0-68 26.08-85.28 77.6l-1.76 5.28h-5.6c-97.12 6.56-170.4 90.24-170.4 194.4v384c0 109.44 80 195.04 182.24 195.04h381.76c102.24 0 182.24-85.6 182.24-195.04z m-550.56-93.28c0-40 11.84-153.92 64-153.92h227.52c51.52 0 64 114.08 64 153.92v8.32H333.76z m520.16 485.12a173.12 173.12 0 0 1-44.8 107.04 146.72 146.72 0 0 1-106.72 49.44H320a146.72 146.72 0 0 1-106.72-49.44 172.48 172.48 0 0 1-45.12-115.36v-384a164.64 164.64 0 0 1 128-157.76l11.52-2.4-1.6 11.68a439.52 439.52 0 0 0-2.08 55.68v8.32h-32V288h478.72v-30.4h-32v-8.32a448 448 0 0 0-3.84-55.2l-1.6-11.68 11.52 2.4a164.64 164.64 0 0 1 128 157.76z"
                fill="#25BCC7"
                p-id="39136"
              ></path>
              <path
                d="M319.52 444.16h383.36v30.24H319.52zM319.52 585.28h383.36v30.24H319.52zM319.52 726.56h383.36v30.24H319.52z"
                fill="#25BCC7"
                p-id="39137"
              ></path>
              <path
                d="M847.52 140.16m-80.48 0a80.48 80.48 0 1 0 160.96 0 80.48 80.48 0 1 0-160.96 0Z"
                fill="#E75F5F"
                p-id="39138"
              ></path>
            </svg>
          </div>
        </div>
      </el-col>
      <el-col :span="8">
        <div class="todo" @click="toAddWeekly({ queryValue: '2' })">
          <div>
            <div>已读周报</div>
            <div class="todo-text">{{ weeklyCount.readCount || 0 }}</div>
          </div>
          <div>
            <svg
              t="1728718561254"
              class="icon"
              viewBox="0 0 1024 1024"
              version="1.1"
              xmlns="http://www.w3.org/2000/svg"
              p-id="39391"
              width="48"
              height="48"
            >
              <path
                d="M816 380.8H225.6c-4.8 14.4-8 30.4-8 48v393.6c0 86.4 68.8 160 147.2 160h392c78.4 0 147.2-73.6 147.2-160V427.2c0-16-3.2-32-8-48h-80zM649.6 142.4H414.4c-43.2 0-56 104-56 150.4h347.2c0-46.4-14.4-150.4-56-150.4z"
                fill="#D1E4E5"
                p-id="39392"
              ></path>
              <path
                d="M875.2 347.2c0-107.2-75.2-192-174.4-198.4h-6.4l-1.6-4.8c-17.6-52.8-48-80-88-80H379.2c-40 0-70.4 27.2-88 80l-1.6 4.8h-6.4C184 155.2 108.8 240 108.8 347.2v393.6c0 112 81.6 200 187.2 200H688c105.6 0 187.2-88 187.2-200V347.2z m-566.4-96c0-41.6 12.8-158.4 65.6-158.4h235.2c52.8 0 65.6 116.8 65.6 158.4v8H308.8v-8z m534.4 499.2c-1.6 40-19.2 80-46.4 110.4-28.8 32-68.8 51.2-108.8 51.2H296c-40 0-80-19.2-108.8-51.2-28.8-32-46.4-75.2-46.4-118.4V347.2c0-38.4 14.4-75.2 40-105.6 24-28.8 57.6-49.6 92.8-56l11.2-1.6-1.6 11.2c-3.2 27.2-3.2 51.2-3.2 56v8h-32v32h491.2v-32h-32v-8c0-3.2 0-28.8-3.2-56l-1.6-11.2 11.2 1.6c35.2 6.4 67.2 27.2 92.8 56 25.6 30.4 40 67.2 40 105.6v403.2z"
                fill="#25BCC7"
                p-id="39393"
              ></path>
              <path
                d="M294.4 452.8H688v30.4H294.4zM294.4 596.8H688v30.4H294.4zM294.4 742.4H688v30.4H294.4z"
                fill="#25BCC7"
                p-id="39394"
              ></path>
            </svg>
          </div>
        </div>
      </el-col>
    </el-row>

    <el-row>
      <el-card class="box-card">
        <div slot="header" class="clearfix">
          <label>工作管理</label>
        </div>
        <div
          style="
            min-heghit: 130px;
            display: flex;
            justify-content: space-around;
            padding-top: 33px;
          "
        >
          <el-col :span="8">
            <div class="box" @click="toAddWeekly({ visible: true })">
              <svg
                t="1728704546030"
                class="icon"
                viewBox="0 0 1024 1024"
                version="1.1"
                xmlns="http://www.w3.org/2000/svg"
                p-id="25027"
                width="32"
                height="32"
              >
                <path
                  d="M173.3 648.5l541.8-541.8c9-9 23.5-9 32.5 0L874 233.1c9 9 9 23.5 0 32.5L331.7 808.1c-5.2 5.2-11.7 9.1-18.8 11.1l-197.4 57.1c-6.7 1.9-12.9-4.3-10.9-11l57.6-198c2.1-7.1 5.9-13.5 11.1-18.8z"
                  fill="#FFCC00"
                  p-id="25028"
                ></path>
                <path
                  d="M587.4 211.7c-1.9 0-3.7-0.7-5.1-2.1-2.8-2.8-2.8-7.4 0-10.2l1.1-1.1c2.8-2.8 7.4-2.8 10.2 0s2.8 7.4 0 10.2l-1.1 1.1c-1.4 1.4-3.3 2.1-5.1 2.1zM83 883.9c-4.2 0-8.3-1.7-11.4-4.7-4.1-4.1-5.7-10.2-4-15.8l57.6-198c2.4-8.2 6.9-15.8 12.9-21.8l423.3-423.3c2.8-2.8 7.4-2.8 10.2 0 2.8 2.8 2.8 7.4 0 10.2L148.4 653.7c-4.3 4.4-7.6 9.8-9.3 15.7l-57.6 198c-0.2 0.8 0.1 1.3 0.4 1.6 0.3 0.3 0.8 0.6 1.6 0.4l197.4-57.1c5.9-1.7 11.4-4.9 15.7-9.3l314.2-314.2c2.8-2.8 7.4-2.8 10.2 0s2.8 7.4 0 10.2L306.8 813.2c-6.1 6.1-13.7 10.6-21.9 13l-197.4 57c-1.5 0.4-3 0.7-4.5 0.7zM669.3 447.7c-1.9 0-3.7-0.7-5.1-2.1-2.8-2.8-2.8-7.4 0-10.2L839 260.6c3-3 4.6-6.9 4.6-11.1 0-4.2-1.6-8.2-4.6-11.1L712.5 111.9c-6.2-6.2-16.1-6.1-22.3 0l-53.4 53.4c-2.8 2.8-7.4 2.8-10.2 0-2.8-2.8-2.8-7.4 0-10.2l53.4-53.4c11.8-11.8 31-11.8 42.7 0l126.4 126.4c5.7 5.7 8.8 13.3 8.8 21.4 0 8.1-3.1 15.7-8.8 21.4L674.4 445.6c-1.4 1.4-3.3 2.1-5.1 2.1z"
                  p-id="25029"
                ></path>
                <path
                  d="M294.6 810.4c-1.9 0-3.7-0.7-5.1-2.1l-85.9-85.9c-2.8-2.8-2.8-7.4 0-10.2 2.8-2.8 7.4-2.8 10.2 0l85.9 85.9c2.8 2.8 2.8 7.4 0 10.2-1.4 1.4-3.2 2.1-5.1 2.1zM179.8 695.6c-1.9 0-3.7-0.7-5.1-2.1l-38.2-38.2c-2.8-2.8-2.8-7.4 0-10.2 2.8-2.8 7.4-2.8 10.2 0l38.2 38.2c2.8 2.8 2.8 7.4 0 10.2-1.4 1.4-3.2 2.1-5.1 2.1z"
                  p-id="25030"
                ></path>
                <path
                  d="M953.1 929.5h-94c-43.4 0-43.4-40.1-43.4-72.3 0-39.3-2.9-57.9-28.9-57.9-23.8 0-26.8 21.2-29.6 55.9-2.7 33.1-6.1 74.3-49.9 74.3s-47.2-41.2-49.9-74.3c-2.9-34.7-5.8-55.9-29.6-55.9-24.5 0-26.9 22.1-28.9 58.3-1.8 32-4 71.9-43.4 71.9H85.2c-4 0-7.2-3.2-7.2-7.2s3.2-7.2 7.2-7.2h470.1c24.5 0 26.9-22.1 28.9-58.3 1.8-32 4-71.9 43.4-71.9 38.4 0 41.4 36.7 44.1 69.2 3.1 38 7.1 61 35.5 61s32.4-23.1 35.5-61c2.7-32.4 5.7-69.2 44.1-69.2 43.4 0 43.4 40.1 43.4 72.3 0 39.3 2.9 57.9 28.9 57.9h94c4 0 7.2 3.2 7.2 7.2s-3.2 7.2-7.2 7.2z"
                  fill="#FFCC00"
                  p-id="25031"
                ></path>
                <path
                  d="M938.7 922.3h-94c-43.4 0-43.4-40.1-43.4-72.3 0-39.3-2.9-57.9-28.9-57.9-21.3 0-26.3 16.1-29.3 52.1-0.3 4-3.9 7-7.8 6.6-4-0.3-6.9-3.8-6.6-7.8 2.3-27.6 5.5-65.4 43.7-65.4 43.4 0 43.4 40.1 43.4 72.3 0 39.3 2.9 57.9 28.9 57.9h94c4 0 7.2 3.2 7.2 7.2 0 4.1-3.2 7.3-7.2 7.3zM692.8 922.3c-43.8 0-47.2-41.2-49.9-74.3-2.9-34.7-5.8-55.9-29.6-55.9-24.5 0-26.9 22.1-28.9 58.3-1.8 32-4 71.9-43.4 71.9H425.2c-4 0-7.2-3.2-7.2-7.2s3.2-7.2 7.2-7.2h115.7c24.5 0 26.9-22.1 28.9-58.3 1.8-32 4-71.9 43.4-71.9 38.4 0 41.4 36.7 44.1 69.2 3.1 38 7.1 61 35.5 61 12.9 0 21.1-4.5 26.4-14.6 1.9-3.5 6.3-4.9 9.8-3 3.5 1.9 4.9 6.2 3 9.8-7.9 14.7-21.1 22.2-39.2 22.2zM352.8 922.3H349c-4 0-7.2-3.2-7.2-7.2s3.2-7.2 7.2-7.2h3.8c4 0 7.2 3.2 7.2 7.2 0.1 4-3.2 7.2-7.2 7.2zM312.8 922.3h-242c-4 0-7.2-3.2-7.2-7.2s3.2-7.2 7.2-7.2h242.1c4 0 7.2 3.2 7.2 7.2s-3.3 7.2-7.3 7.2z"
                  p-id="25032"
                ></path>
              </svg>
              <p>周报提交</p>
            </div>
          </el-col>
          <el-col :span="8">
            <div class="box" @click="toAddWeekly({ queryValue: '3' })">
              <svg
                t="1728719252179"
                class="icon"
                viewBox="0 0 1024 1024"
                version="1.1"
                xmlns="http://www.w3.org/2000/svg"
                p-id="67728"
                width="32"
                height="32"
              >
                <path
                  d="M848 103.48H726.48c2.58 2.28 5.1 4.64 7.5 7.12a132 132 0 0 1 37.4 92v4.24a132.48 132.48 0 0 1-132.36 132.28h-256A132.5 132.5 0 0 1 250.66 206.8v-4.26a132.18 132.18 0 0 1 37.42-92c2.4-2.48 4.9-4.84 7.5-7.12H174.14a56 56 0 0 0-56 56v770a56 56 0 0 0 56 56H848a56 56 0 0 0 56-56v-770a56 56 0 0 0-56-55.94z"
                  fill="#29ABE2"
                  p-id="67729"
                ></path>
                <path
                  d="M253 123.44a152.14 152.14 0 0 0-21.52 63.86c-0.52 5.28-0.78 10.3-0.78 15.32v4.26A152.52 152.52 0 0 0 383.06 359.2h256a152.5 152.5 0 0 0 152.36-152.28v-4.24a143.82 143.82 0 0 0-0.82-15.68 152.12 152.12 0 0 0-21.48-63.52H848a36 36 0 0 1 36 36v770a36 36 0 0 1-36 36H174.14a36 36 0 0 1-36-36v-770a36 36 0 0 1 36-36H253m37.62-20H174.14a56 56 0 0 0-56 56v770a56 56 0 0 0 56 56H848a56 56 0 0 0 56-56v-770a56 56 0 0 0-56-56H726.48c2.58 2.28 5.1 4.64 7.5 7.12a132 132 0 0 1 37.4 92v4.24a132.48 132.48 0 0 1-132.36 132.28h-256A132.5 132.5 0 0 1 250.66 206.8v-4.26a132.18 132.18 0 0 1 37.42-92c2.4-2.48 4.9-4.84 7.5-7.12z"
                  p-id="67730"
                ></path>
                <path
                  d="M383.06 286h256a79.2 79.2 0 0 0 79.14-79.04v-4.24a76 76 0 0 0-0.42-8c-0.12-1.12-0.26-2.26-0.42-3.38a79.28 79.28 0 0 0-67.76-67c-1.72-0.24-3.46-0.44-5.22-0.58-0.88 0-1.76-0.14-2.66-0.18h-37v-6.4c0-1.24 0-2.46-0.1-3.7 0-0.74-0.1-1.48-0.14-2.2s0-0.86-0.1-1.28c-0.1-0.98-0.2-2-0.32-2.9v-0.42A79.24 79.24 0 0 0 525.58 38h-29.12a79.24 79.24 0 0 0-77.9 65.4c-0.18 1.06-0.34 2.14-0.5 3.22a3.3 3.3 0 0 1 0 0.42c-0.12 0.96-0.24 2-0.32 2.9v1.26c0 0.74-0.12 1.48-0.16 2.22 0 1.22-0.1 2.46-0.1 3.7v6.34h-37.12c-0.88 0-1.78 0.1-2.66 0.18-1.74 0.14-3.5 0.34-5.24 0.58a79.04 79.04 0 0 0-32 11.82 80.174 80.174 0 0 0-16.32 13.88 79.66 79.66 0 0 0-12.58 18.94c-0.8 1.7-1.54 3.44-2.22 5.2s-1.16 3.12-1.66 4.74a77.04 77.04 0 0 0-3.24 15.7 76 76 0 0 0-0.42 8v4.26A79.2 79.2 0 0 0 383.06 286z"
                  fill="#F7931E"
                  p-id="67731"
                ></path>
                <path
                  d="M525.58 58a59.28 59.28 0 0 1 58.6 51.26v0.32c0 0.72 0.18 1.44 0.24 2.2v31.74h56.08c0.64 0 1.28 0 2 0.12 1.24 0 2.58 0.26 4.22 0.48a59.28 59.28 0 0 1 50.58 50c0.12 0.84 0.22 1.68 0.32 2.54v0.18a53.38 53.38 0 0 1 0.3 5.82v4.24a59.16 59.16 0 0 1-58.9 59.1h-256A59.16 59.16 0 0 1 324 206.88v-4.26a58.72 58.72 0 0 1 0.32-6 58 58 0 0 1 2.4-11.7c0.38-1.16 0.8-2.34 1.24-3.52s1.1-2.7 1.66-3.86a58.56 58.56 0 0 1 9.4-14.16c1.08-1.2 2.22-2.38 3.4-3.48 0.58-0.56 1.18-1.12 1.8-1.64a57.26 57.26 0 0 1 4.62-3.64c0.78-0.56 1.6-1.1 2.4-1.62a58.54 58.54 0 0 1 24-8.84c1.68-0.22 3.04-0.38 4.28-0.48 0.64 0 1.26 0 1.9-0.12h56.06V111.8c0-0.74 0.14-1.46 0.22-2v-0.38c0.1-0.78 0.22-1.54 0.36-2.32l0.12-0.72a59.02 59.02 0 0 1 58-48.18h29.12m0-20h-28.84a79.24 79.24 0 0 0-77.9 65.4c-0.18 1.06-0.34 2.14-0.5 3.2a3.28 3.28 0 0 1 0 0.44c-0.12 0.96-0.24 2-0.32 2.9v1.26c0 0.74-0.12 1.48-0.16 2.22 0 1.22-0.1 2.46-0.1 3.7v6.34h-37.12c-0.88 0-1.78 0.1-2.66 0.18-1.74 0.14-3.5 0.34-5.24 0.58a79.04 79.04 0 0 0-32 11.82 80.174 80.174 0 0 0-16.32 13.88 79.66 79.66 0 0 0-12.58 18.94c-0.8 1.7-1.54 3.44-2.22 5.2s-1.16 3.12-1.66 4.74a77.04 77.04 0 0 0-3.24 15.7 76 76 0 0 0-0.42 8v4.26A79.2 79.2 0 0 0 383.06 286h256a79.2 79.2 0 0 0 79.14-79.04v-4.24a76 76 0 0 0-0.42-8c-0.12-1.12-0.26-2.26-0.42-3.38a79.28 79.28 0 0 0-67.76-67c-1.72-0.24-3.46-0.44-5.22-0.58-0.88 0-1.76-0.14-2.66-0.18h-37v-6.4c0-1.24 0-2.46-0.1-3.7 0-0.74-0.1-1.48-0.14-2.2s0-0.86-0.1-1.28c-0.1-0.98-0.2-2-0.32-2.9v-0.42A79.24 79.24 0 0 0 525.58 38z"
                  p-id="67732"
                ></path>
                <path
                  d="M599.28 604.9H528v-34h57a14 14 0 0 0 14-14v-6.44a14 14 0 0 0-14-14h-57v-15.4a14 14 0 0 0-14-14h-9.8a14 14 0 0 0-14 14v15.4h-53.6a14 14 0 0 0-14 14v6.44a14 14 0 0 0 14 14h53.6v34h-67.38a14 14 0 0 0-14 14v6a14 14 0 0 0 14 14h176.46a14 14 0 0 0 14-14v-6a14 14 0 0 0-14-14z m-23.52 61.3H446.32a14 14 0 0 0-14 14v86.6a14 14 0 0 0 14 14h129.44a14 14 0 0 0 14-14v-86.62a14 14 0 0 0-14-13.98z m-23.36 78.92h-83.12v-43.24h83.12z"
                  fill="#FFFFFF"
                  p-id="67733"
                ></path>
                <path
                  d="M678 805.46V454.52c0-7.24-7.42-13.18-16.48-13.18H361.74c-9.08 0-16.5 6-16.5 13.2v265.18a190.82 190.82 0 0 1-4.72 49.62c-6.94 30.16-17.72 42.76-11.78 49.32 7.52 8.3 35.88 0.12 50.6-16.5 11.74-13.24 16.5-28.44 16.5-49.46V492h231.5v331.08c5.32 10.52 15.4 17.24 25.38 16.76 13.96-0.72 27.08-15.66 25.28-34.38z"
                  fill="#FFFFFF"
                  p-id="67734"
                ></path>
              </svg>
              <p>周报数据</p>
            </div>
          </el-col>
          <el-col :span="8">
            <div class="box" @click="toAddErpTarget({ visible: true })">
              <svg
                t="1729325300269"
                class="icon"
                viewBox="0 0 1024 1024"
                version="1.1"
                xmlns="http://www.w3.org/2000/svg"
                p-id="5309"
                width="32"
                height="32"
              >
                <path
                  d="M923.733333 230.4V981.333333c0 23.466667-19.2 42.666667-42.666666 42.666667H142.933333c-23.466667 0-42.666667-19.2-42.666666-42.666667V42.666667c0-23.466667 19.2-42.666667 42.666666-42.666667h554.666667l83.2 85.333333 142.933333 145.066667z"
                  fill="#F2F2F2"
                  p-id="5310"
                ></path>
                <path
                  d="M695.466667 187.733333c0 23.466667 19.2 42.666667 42.666666 42.666667h185.6L695.466667 0v187.733333z"
                  fill="#CDD6E0"
                  p-id="5311"
                ></path>
                <path
                  d="M356.266667 262.4l23.466666 145.066667c-46.933333 8.533333-91.733333-6.4-125.866666-40.533334l102.4-104.533333z"
                  fill="#40596B"
                  p-id="5312"
                ></path>
                <path
                  d="M356.266667 262.4l130.133333 66.133333c-21.333333 42.666667-59.733333 70.4-106.666667 78.933334l-23.466666-145.066667z"
                  fill="#ACB3BA"
                  p-id="5313"
                ></path>
                <path
                  d="M356.266667 262.4l130.133333-66.133333c21.333333 42.666667 21.333333 89.6 0 132.266666l-130.133333-66.133333z"
                  fill="#FF7058"
                  p-id="5314"
                ></path>
                <path
                  d="M356.266667 262.4l-102.4 102.4c-57.6-57.6-57.6-149.333333 0-206.933333 57.6-57.6 149.333333-57.6 206.933333 0 10.666667 10.666667 19.2 23.466667 27.733333 36.266666l-132.266666 68.266667z"
                  fill="#FFD15C"
                  p-id="5315"
                ></path>
                <path
                  d="M554.666667 305.066667h258.133333v53.333333H554.666667z"
                  fill="#ACB3BA"
                  p-id="5316"
                ></path>
                <path
                  d="M217.6 488.533333h597.333333v53.333334h-597.333333zM217.6 672h597.333333V725.333333h-597.333333z"
                  fill="#CDD6E0"
                  p-id="5317"
                ></path>
                <path
                  d="M110.933333 840.533333L0 885.333333l110.933333 44.8z"
                  fill="#FFD15C"
                  p-id="5318"
                ></path>
                <path
                  d="M110.933333 840.533333H917.333333v25.6H110.933333zM110.933333 902.4H917.333333v25.6H110.933333z"
                  fill="#84DBFF"
                  p-id="5319"
                ></path>
                <path
                  d="M38.4 870.4l-38.4 14.933333 38.4 14.933334z"
                  fill="#334A5E"
                  p-id="5320"
                ></path>
                <path
                  d="M1024 861.866667v46.933333c0 12.8-8.533333 21.333333-21.333333 21.333333h-57.6v-89.6H1002.666667c12.8 0 21.333333 8.533333 21.333333 21.333334z"
                  fill="#FF7058"
                  p-id="5321"
                ></path>
                <path
                  d="M110.933333 866.133333H917.333333v36.266667H110.933333z"
                  fill="#54C0EB"
                  p-id="5322"
                ></path>
                <path
                  d="M917.333333 840.533333h27.733334v89.6H917.333333z"
                  fill="#FFD15C"
                  p-id="5323"
                ></path>
              </svg>
              <p>年度目标提交</p>
            </div>
          </el-col>
          <el-col :span="8">
            <div class="box" @click="toAddErpTarget()">
              <svg
                t="1728719728346"
                class="icon"
                viewBox="0 0 1024 1024"
                version="1.1"
                xmlns="http://www.w3.org/2000/svg"
                p-id="82904"
                width="32"
                height="32"
              >
                <path
                  d="M907 99.85a18 18 0 0 1 18 18v580a18 18 0 0 1-18 18H117a18 18 0 0 1-18-18v-580a18 18 0 0 1 18-18h790m0-2H117a20.06 20.06 0 0 0-20 20v580a20.06 20.06 0 0 0 20 20h790a20.06 20.06 0 0 0 20-20v-580a20.06 20.06 0 0 0-20-20z"
                  fill="#0E6EC5"
                  p-id="82905"
                ></path>
                <path
                  d="M907 98.85H117a19 19 0 0 0-19 19v580a19 19 0 0 0 19 19h790a19 19 0 0 0 19-19v-580a19 19 0 0 0-19-19z m-10 575a14 14 0 0 1-14 14H141a14 14 0 0 1-14-14v-532a14 14 0 0 1 14-14h742a14 14 0 0 1 14 14z"
                  fill="#01B0F1"
                  p-id="82906"
                ></path>
                <path
                  d="M256.7 877.15l509.95 0 0 48-509.95 0 0-48Z"
                  fill="#01B0F1"
                  p-id="82907"
                ></path>
                <path
                  d="M742.77 878.15A22.9 22.9 0 0 1 765.65 901v0.24a22.9 22.9 0 0 1-22.88 22.88H280.58a22.9 22.9 0 0 1-22.88-22.88V901a22.9 22.9 0 0 1 22.88-22.88h462.19m0-2H280.58A25 25 0 0 0 255.7 901v0.24a25 25 0 0 0 24.88 24.88h462.19a25 25 0 0 0 24.88-24.88V901a25 25 0 0 0-24.88-24.88zM415.19 688.15H267.41V504.71l147.78-127.26v310.7zM431.6 688.15h147.78V426.26L431.6 377.45v310.7zM742.09 688.15H594.31V426.26l147.78-148.33v410.22z"
                  fill="#0E6EC5"
                  p-id="82908"
                ></path>
                <path
                  d="M267.41 469.92l147.78-116.47 164.19 57.81L731.6 247.18l22.61 19.12 2.38-67.68-67.66 13.5 23.5 19.33-151.67 121.48-151-38.66-142.35 155.65z"
                  fill="#FFBE00"
                  p-id="82909"
                ></path>
                <path
                  d="M796.5 701.66m-130 0a130 130 0 1 0 260 0 130 130 0 1 0-260 0Z"
                  fill="#0FCE9A"
                  p-id="82910"
                ></path>
                <path
                  d="M715.95 722.42a35 35 0 0 0 3.06 2.1 10.89 10.89 0 0 1 2.2 1.62 2.48 2.48 0 0 1 0.54 1.71 2.51 2.51 0 0 1-0.64 1.57 1.92 1.92 0 0 1-1.54 0.79 4.05 4.05 0 0 1-1.78-0.54 19.54 19.54 0 0 1-2.46-1.57q-1.41-1-3.09-2.41a15 15 0 0 1-7.67 1.82 15.67 15.67 0 0 1-6.61-1.34 13.1 13.1 0 0 1-4.91-3.86 17.37 17.37 0 0 1-3-6 27.08 27.08 0 0 1-1-7.55 26.33 26.33 0 0 1 1-7.63 17 17 0 0 1 3-5.9 13.17 13.17 0 0 1 4.83-3.73 15.49 15.49 0 0 1 6.47-1.29 15.23 15.23 0 0 1 8.44 2.28 14.14 14.14 0 0 1 5.34 6.47 24.7 24.7 0 0 1 1.81 9.85q0.06 8.59-3.99 13.61z m-5-4a11.64 11.64 0 0 0 2-4.13 21.6 21.6 0 0 0 0.64-5.53 19 19 0 0 0-1.12-6.86 9.36 9.36 0 0 0-3.2-4.39 8 8 0 0 0-4.78-1.49 7.74 7.74 0 0 0-3.55 0.82 8 8 0 0 0-2.8 2.4 12.08 12.08 0 0 0-1.85 4 20.59 20.59 0 0 0-0.68 5.5q0 6.22 2.54 9.58a7.75 7.75 0 0 0 6.42 3.36 7.91 7.91 0 0 0 3.28-0.76 16.5 16.5 0 0 0-2.53-1.72 15.83 15.83 0 0 1-2.08-1.33 1.63 1.63 0 0 1-0.56-1.33 1.83 1.83 0 0 1 0.54-1.3 1.62 1.62 0 0 1 1.19-0.57q1.9 0.02 6.51 3.76zM725.54 712v-17.36a5.3 5.3 0 0 1 0.87-3.32 2.78 2.78 0 0 1 2.3-1.11 2.85 2.85 0 0 1 2.36 1.11 5.3 5.3 0 0 1 0.87 3.32v17.74a18.32 18.32 0 0 0 0.59 5.06 5.8 5.8 0 0 0 2.1 3.15 7 7 0 0 0 4.23 1.12q3.75 0 5.3-2.28t1.55-6.9v-17.89a5.34 5.34 0 0 1 0.86-3.33 2.79 2.79 0 0 1 2.31-1.1 2.88 2.88 0 0 1 2.34 1.1 5.2 5.2 0 0 1 0.89 3.33V712a29.11 29.11 0 0 1-0.72 7.06 11.21 11.21 0 0 1-2.73 5 10.37 10.37 0 0 1-4 2.66 15.55 15.55 0 0 1-5.35 0.84 19.49 19.49 0 0 1-6.27-0.9 9.81 9.81 0 0 1-4.29-2.78 11.64 11.64 0 0 1-2.44-4.82 27.78 27.78 0 0 1-0.77-7.06zM777.07 722.81l-1.51-4.53h-12.85l-1.51 4.63a17.25 17.25 0 0 1-1.51 3.65 2.27 2.27 0 0 1-2 0.95 2.83 2.83 0 0 1-2.13-1 3.29 3.29 0 0 1-0.93-2.29 5.77 5.77 0 0 1 0.22-1.53q0.22-0.79 0.71-2.19l8.08-23.42 0.83-2.42a12.93 12.93 0 0 1 1-2.35 4.47 4.47 0 0 1 1.44-1.51 4 4 0 0 1 2.21-0.58 4 4 0 0 1 2.23 0.58 4.56 4.56 0 0 1 1.44 1.49 11 11 0 0 1 0.93 2q0.38 1 1 2.79l8.26 23.27a13 13 0 0 1 1 3.86 3.42 3.42 0 0 1-0.92 2.3 2.84 2.84 0 0 1-2.21 1 2.57 2.57 0 0 1-1.29-0.31 2.74 2.74 0 0 1-0.91-0.84 8.05 8.05 0 0 1-0.79-1.62q-0.49-1.09-0.79-1.93z m-12.68-10h9.44l-4.76-14.88zM797.2 711.47H795v11.59a5.29 5.29 0 0 1-0.88 3.37 2.84 2.84 0 0 1-2.31 1.08 2.78 2.78 0 0 1-2.37-1.13 5.52 5.52 0 0 1-0.84-3.32v-27.75a5.14 5.14 0 0 1 0.93-3.42 3.8 3.8 0 0 1 3-1.06h10.37a27.78 27.78 0 0 1 3.69 0.21 8.4 8.4 0 0 1 2.76 0.85 8 8 0 0 1 2.63 2 9.17 9.17 0 0 1 1.74 3.09 11.59 11.59 0 0 1 0.59 3.73 9.8 9.8 0 0 1-2 6.45 11 11 0 0 1-6 3.42 12.19 12.19 0 0 1 3.25 3.05 31.11 31.11 0 0 1 2.77 4.29 33.82 33.82 0 0 1 1.9 4.11 9 9 0 0 1 0.68 2.52 2.83 2.83 0 0 1-0.4 1.41 3 3 0 0 1-1.09 1.11 3.1 3.1 0 0 1-1.6 0.41 2.83 2.83 0 0 1-1.81-0.58 5.3 5.3 0 0 1-1.26-1.46q-0.53-0.89-1.43-2.61l-2.61-4.83a27.21 27.21 0 0 0-2.47-4.08A6.25 6.25 0 0 0 800 712a6.76 6.76 0 0 0-2.8-0.53z m3.67-15.15H795v9.91h5.73a14.14 14.14 0 0 0 3.88-0.46 4.45 4.45 0 0 0 2.4-1.55 4.88 4.88 0 0 0 0.83-3 5.15 5.15 0 0 0-0.67-2.64 4.2 4.2 0 0 0-1.85-1.71 11.78 11.78 0 0 0-4.45-0.55zM838.68 696.86h-7v26.2a5.3 5.3 0 0 1-0.88 3.36 2.81 2.81 0 0 1-2.29 1.09 2.84 2.84 0 0 1-2.32-1.11 5.25 5.25 0 0 1-0.89-3.35v-26.2h-7a3.25 3.25 0 0 1-2.44-0.82 3 3 0 0 1-0.8-2.18 3 3 0 0 1 0.83-2.21 3.3 3.3 0 0 1 2.4-0.81h20.35a3.29 3.29 0 0 1 2.47 0.84 3 3 0 0 1 0.81 2.19 3 3 0 0 1-0.82 2.18 3.33 3.33 0 0 1-2.42 0.82zM866.58 696.46h-14.42v8.86h13.28a2.91 2.91 0 0 1 2.19 0.75 2.74 2.74 0 0 1 0.72 2 2.59 2.59 0 0 1-2.91 2.78h-13.28v10.26h14.92a3 3 0 0 1 2.27 0.8 3 3 0 0 1 0.76 2.13 2.89 2.89 0 0 1-0.76 2.08 3 3 0 0 1-2.27 0.8h-17.4a3.79 3.79 0 0 1-3-1.06 5.18 5.18 0 0 1-0.92-3.42v-27.13a6.83 6.83 0 0 1 0.41-2.57 2.75 2.75 0 0 1 1.28-1.45 4.82 4.82 0 0 1 2.23-0.45h16.9a3 3 0 0 1 2.27 0.77 2.81 2.81 0 0 1 0.74 2 2.84 2.84 0 0 1-0.74 2.05 3 3 0 0 1-2.27 0.8zM883.81 711.47h-2.24v11.59a5.29 5.29 0 0 1-0.88 3.37 2.84 2.84 0 0 1-2.31 1.08 2.78 2.78 0 0 1-2.37-1.13 5.52 5.52 0 0 1-0.84-3.32v-27.75a5.14 5.14 0 0 1 0.93-3.42 3.8 3.8 0 0 1 3-1.06h10.4a27.78 27.78 0 0 1 3.69 0.21 8.4 8.4 0 0 1 2.76 0.85 8 8 0 0 1 2.63 2 9.17 9.17 0 0 1 1.74 3.09 11.59 11.59 0 0 1 0.59 3.73 9.8 9.8 0 0 1-2 6.45 11 11 0 0 1-6 3.42 12.19 12.19 0 0 1 3.25 3.05 31.11 31.11 0 0 1 2.77 4.29 33.82 33.82 0 0 1 1.9 4.11 9 9 0 0 1 0.68 2.52 2.83 2.83 0 0 1-0.4 1.41 3 3 0 0 1-1.11 1.14 3.1 3.1 0 0 1-1.6 0.41 2.83 2.83 0 0 1-1.81-0.58 5.3 5.3 0 0 1-1.26-1.46q-0.53-0.89-1.43-2.61l-2.59-4.86a27.21 27.21 0 0 0-2.47-4.08 6.25 6.25 0 0 0-2.21-1.92 6.76 6.76 0 0 0-2.82-0.53z m3.67-15.15h-5.91v9.91h5.73a14.14 14.14 0 0 0 3.88-0.46 4.45 4.45 0 0 0 2.4-1.55 4.88 4.88 0 0 0 0.83-3 5.15 5.15 0 0 0-0.67-2.64 4.2 4.2 0 0 0-1.85-1.71 11.78 11.78 0 0 0-4.42-0.55z"
                  fill="#FFFFFF"
                  p-id="82911"
                ></path>
              </svg>
              <p>年度目标数据</p>
            </div>
          </el-col>
        </div>
      </el-card>
    </el-row>
  </div>
</template>

<script>
export default {
  name: "WeeklyReportManagement",
  data() {
    return {};
  },
  props: {
    weeklyCount: {
      type: Object,
      default: () => {},
    },
  },

  methods: {
    toAddWeekly(query) {
      this.$router.replace({
        path: "/erp/weeklyList",
        query: query,
      });
    },
    toAddErpTarget(query) {
      this.$router.replace({
        path: "/erp/target",
        query: query,
      });
    },
  },
};
</script>

<style scoped lang="scss">
.todo {
  box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.1);
  background-color: white;
  color: black;
}

.box-card {
  border-radius: 10px;
}

.box {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.weekly-report-management {
  padding: 20px;
}
.header {
  box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.1);
  background-image: url("~@/assets/images/erp/weekly_bak.png");
  width: 100%;
  min-height: 200px;
  position: relative;
  display: flex;
  align-items: center;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: right;
  margin-bottom: 30px;
  border-radius: 8px;
}
.header-title {
  font-size: 40px;
  line-height: 56px;
  color: #ffffff;
  overflow: hidden;
  text-overflow: ellipsis;
  line-clamp: 2;
  margin: 16px;
}
.info-cards {
  margin-bottom: 20px;
  margin-right: -30px !important;
}
.info-card {
  background-color: #f9f9f9;
  padding: 20px;
  border-radius: 5px;
  text-align: center;
}
.info-number {
  font-size: 36px;
  margin-top: 10px;
}
.statistics-link {
  display: block;
  margin-top: 10px;
  color: #428bff;
  cursor: pointer;
}
.actions {
  text-align: center;
}
</style>
